package com.hjt.gulimall.auth.feign;

import com.hjt.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author:97007
 * @date:2021/9/28 15:47
 */
@FeignClient("gulimall-third-party")
public interface ThreePartyFeignService {

    @GetMapping("/ems/sendcode")
    R sendCode(@RequestParam("email") String email, @RequestParam("code")String code);
}
